package com.housekeeperapp.logs;

import android.util.Log;

import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;

/**
 * Created by xiaolong.wei on 2018/11/27.
 */

public class LogModule extends ReactContextBaseJavaModule {

    public LogModule(ReactApplicationContext reactContext) {
        super(reactContext);
    }

    @Override
    public String getName() {
        return "log";
    }

    @ReactMethod
    public void d(String tag,String msg){
        Log.d(tag, "d: ----***----"+tag+"----msg is ="+msg);
    }

}
